{strip}
{include file="common/header.tpl"}
<section class="main">
    <article class="right-col">      
        <h2>{$language.title.nationality} &raquo; <a href="{$smarty.const.HOST_BACKEND}national/add">{$language.ahref.add}</a></h2>       
        <form id="frmNational" name="frmNational" method="post" action="{$smarty.const.HOST_BACKEND}national/act" enctype="multipart/form-data" class="ui">
            
            <input type="hidden" name="paction" id="paction" />
            <input type="hidden" name="pcancelsearch" id="pcancelsearch"/>                                                           
            {include file="national/button.tpl"}
            <ul>
             {if isset($personalid)}
            <li>
                <div class="">
                    <label class="txt">{$language.label.personalid} : </label>
                    <input type="text" class="" name="personalid" id="personalid" value="{$personalid}" readonly="true" min="150" />
                </div>
            </li>
             {/if}
            {if isset($arrNational) && is_array($arrNational)}
                <li>
                    <label>{$language.label.national} : </label> 
                    <div class="chk">                                        
                        <ul>
                            {foreach key=i item=item from=$arrNational}
                                <li>                        
                                    <input class="chk" type="checkbox" name="nationalid[]" id="national{$i}" value="{$i}" />
                                    <a href="{$smarty.const.HOST_BACKEND}national/edit?nationalid={$i}"><label class="chk">{$item}</label></a>                     
                                </li>
                            {/foreach}
                        </ul>
                    </div>
                 </li>
            {/if}
            <li>
                {include file="national/button.tpl"}
            </li>                               
            </ul>
        </form>
	</article>
</section>
{include file="common/footer.tpl"}
{/strip}
                
